home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / ODFDev / ODF / Framewrk / FWPart / Include / FWPrstng.h < prev    next >
Encoding:
Text File  |  1996-04-25  |  1.9 KB  |  64 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWPrstng.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWPRSTNG_H
  11. #define FWPRSTNG_H
  12.  
  13. #ifndef FWPRESEN_H
  14. #include "FWPresen.h"
  15. #endif
  16.  
  17. //========================================================================================
  18. //    Forward Declarations
  19. //========================================================================================
  20.  
  21. class ODShape;
  22. class ODPart;
  23. class ODFrame;
  24.  
  25. class FW_CEmbeddingPart;
  26. class FW_CSelection;
  27. class FW_MProxy;
  28.  
  29. //========================================================================================
  30. //    class FW_CEmbeddingPresentation
  31. //========================================================================================
  32.  
  33. class FW_CEmbeddingPresentation : public FW_CPresentation
  34. {
  35. //----------------------------------------------------------------------------------------
  36. //    Constructors/Destructors
  37. //
  38. public:
  39.     FW_CEmbeddingPresentation(Environment *ev, 
  40.                     FW_CEmbeddingPart* thePart, 
  41.                     FW_CSelection* selection, 
  42.                     ODTypeToken presentationType,
  43.                     ODTypeToken defaultEmbeddedFrameViewType = FW_CPart::gViewAsFrameToken);
  44.     virtual ~FW_CEmbeddingPresentation();
  45.  
  46. //----------------------------------------------------------------------------------------
  47. //    Inerited API
  48. //
  49. public:
  50.     // ----- Embedding -----
  51.     void                Embed(Environment* ev, 
  52.                             ODPart* embeddedPart,            // Might be null
  53.                             ODFrame* embeddedFrame,            // Might be null
  54.                             ODType suggestedFrameType,        // force to the type of embeddedFrame if != NULL
  55.                             FW_MProxy* proxy,
  56.                             ODShape* frameShape,
  57.                             ODTypeToken viewType,
  58.                             ODTypeToken presentationType,
  59.                             ODID frameGroupID,
  60.                             FW_Boolean isOverlaid,
  61.                             FW_Boolean subFrame);
  62. };
  63.  
  64. #endif